// @APIVersion 1.0.0
// @Title beego Test API
// @Description beego has a very cool tools to autogenerate documents for your API
// @Contact astaxie@gmail.com
// @TermsOfServiceUrl http://beego.me/
// @License Apache 2.0
// @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
package routers

import (
	"h5-parse/controllers"

	"github.com/astaxie/beego"
)

func init() {
	ns := beego.NewNamespace("/v1",
		beego.NSNamespace("/apps",
			beego.NSInclude(
				&controllers.H5_appsController{},
			),
		),
		beego.NSNamespace("/classes",
			beego.NSInclude(
				&controllers.H5_classesController{},
			),
		),
		beego.NSNamespace("/events",
			beego.NSInclude(
				&controllers.H5_eventsController{},
			),
		),
		beego.NSNamespace("/files",
			beego.NSInclude(
				&controllers.H5_filesController{},
			),
		),
		beego.NSNamespace("/installations",
			beego.NSInclude(
				&controllers.H5_installationsController{},
			),
		),
		beego.NSNamespace("/push",
			beego.NSInclude(
				&controllers.H5_pushController{},
			),
		),
		beego.NSNamespace("/roles",
			beego.NSInclude(
				&controllers.H5_rolesController{},
			),
		),
		beego.NSNamespace("/schemas",
			beego.NSInclude(
				&controllers.H5_schemasController{},
			),
		),
		beego.NSNamespace("/sessions",
			beego.NSInclude(
				&controllers.H5_sessionsController{},
			),
		),
		beego.NSNamespace("/users",
			beego.NSInclude(
				&controllers.H5_usersController{},
			),
		),
	)
	beego.AddNamespace(ns)
}
